package com.springBoot.service;

import com.springBoot.entity.ObjectsEntity;

import java.util.List;

public interface ObjectsService {

    /**
     * 条件查询
     * @param objEntity 查询条件
     * @return  查询结果集
     */
    public List<ObjectsEntity> retrieveByParams(ObjectsEntity objEntity);

    public ObjectsEntity InsertNewObj(ObjectsEntity objEntity);

    public ObjectsEntity updateObj(ObjectsEntity objEntity);

    public void deleteObj(ObjectsEntity objEntity);
}
